package Mangos::DB::Characters::GuildBankTab;

use strict;

use base qw(Mangos::DB::Characters);

__PACKAGE__->meta->setup
(
    table   => 'guild_bank_tab',

    columns => 
    [
        guildid => { type => 'integer', not_null => 1 },
        TabId   => { type => 'integer', not_null => 1 },
        TabName => { type => 'varchar', default => '', length => 100, not_null => 1 },
        TabIcon => { type => 'varchar', default => '', length => 100, not_null => 1 },
        TabText => { type => 'text', length => 65535 },
    ],

    primary_key_columns => [ 'guildid', 'TabId' ],
);

1;

package Mangos::DB::Characters::GuildBankTab::Manager;

use strict;
use warnings;

use base 'Rose::DB::Object::Manager';

sub object_class { 'Mangos::DB::Characters::GuildBankTab' }

__PACKAGE__->make_manager_methods('guild_bank_tab');

1;
